package net.xinqushi.classloader;

/**
 *  暂时了解，以后看Tomcat源码时仔细探究
 */
public class ClassLoaderTest {
    public static void main(String[] args) {
        ClassLoader currentLoader = ClassLoaderTest.class.getClassLoader();
        for(;currentLoader != null ; currentLoader = currentLoader.getParent()){
            System.out.println(currentLoader);
        }
    }
}
